 <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>serverset</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="file:///sdcard/TVATA/logo_img.css" rel="stylesheet" type="text/css" />
<link href="file:///sdcard/TVATA/bgimg.css" rel="stylesheet" type="text/css" />


<script type="text/javascript" src="./js/config.js"></script>

<script type="text/javascript" src="./js/libs/VatataPublic.js"></script>
<script type="text/javascript" src="./js/VatataTips/VatataTips.js"></script>
<script type="text/javascript" src="./js/libs/VatataKeyMove.js"></script>
<script type="text/javascript" src="./js/serverset.js"></script>
</head>
<body>
<div class="container">
	<div class="header_erji">
    	<div class="title fl">
            <img src="images/arrowbotm.png">
            Server Setting
        </div>
       
       
        <div class="now fr">
            <div class="week fl" id="weekId" style="display:none;"></div>
            <div class="date1 fl">
                <span id="timeId" style="display:none;"></span>
                <span class="time1" id="temperatureId" style="display:none;"></span>
            </div>
            <div class="degrees fl"></div>
            <img onerror="this.src='images/default.png'" style="display:none;" class="fl" id="temperatureImgId">
            <div class="clear"></div>
            
        </div>
        
        
    </div>
    
    <div class="main1">
            <ul class="server_set">
        	<li><span class="list_title">Server：</span>
            	<span id="MainhostIdNew" class="span_text" style="width:400px;" ></span>
            </li>
            
            <li style="width:150px;">
            	<a href="javascript:changeHostUrl()" id="changeBtnId" upid="changeBtnId" downid="changeBtnId" leftid="changeBtnId" rightid="jihuoId" class="changeBtn" >Change</a>
            </li>
       
            <li style="width:100px;">
           		<a href="javascript:setLocalboss()" id="jihuoId" upid="jihuoId" downid="jihuoId" leftid="changeBtnId" rightid="jihuoId" class="changeBtn" >ReFill</a>
            </li>
           
        </ul>
    

        <ul id="contentId" style="visibility:hidden">    
            <li>
            	<span class="list_title">新闻资讯：</span><input class="input_text" name="" type="text" value="" /> 
            </li>
            <li>
            	<span class="list_title">音乐摄影：</span><input class="input_text" name="" type="text" value="" /> 
            </li>
            <li>
            	<span class="list_title">电视商城：</span><input class="input_text" name="" type="text" value="" /> 
            </li>
            <li>	
            	<span class="list_title">应用市场：</span><input class="input_text" name="" type="text" value="" /> 
            </li>
            <li>	
            	<span class="list_title">精品教育：</span><input class="input_text" name="" type="text" value="" /> 
            </li>
            <li>
            	<span class="list_title">直播电视：</span><input class="input_text" name="" type="text" value="" /> 
            </li>
            <li>
            	<span class="list_title">V C 社区：</span><input class="input_text" name="" type="text" value="" /> 
            </li>
            <li>
            	<span class="list_title">电视广播：</span><input class="input_text" name="" type="text" value="" /> 
            </li>
            <li>
            	<span class="list_title">影视点播：</span><input class="input_text" name="" type="text" value="" /> 
            </li>
            <li>
            	<span class="list_title">首页推荐：</span><input class="input_text" name="" type="text" value="" /> 
            </li>
            <li>
            	<span class="list_title">终端控制：</span><input class="input_text" name="" type="text" value="" /> 
            </li>
<!--              <li>
            	<span class="list_title">党&nbsp;&nbsp; 教：</span><input class="input_text" name="" type="text" value="" /> 
            </li> -->
        </ul>
        <div class="setbtn" style="display:none">
        	<a href="javascript:waeload()" id="saveBtn" onmouseover="setFocusId('saveBtn')" onmouseout="setFocusId('')" ></a>
       </div>
    </div>
    <div class="numer" id="versionName"></div>
</div>

<script type="text/javascript">

//启动时间机制,气温


window.onWAEReady = function(){
	if(wae.can("tools.ErrorHandler")&&wae.can("tools.ErrorHandler")==true){
		m_waeErrorHandler = wae.create("tools.ErrorHandler");
	}
	
	//弹出框返回处理函数
	m_waeErrorHandler.onErrorHandlerResult = function(e){
		var _returnCode = e.arguments[0];
		if(_returnCode==0)
			return;
			
		if(m_returnCallback)
				eval("("+m_returnCallback+")");
	}
	
	eventSender_obj = wae.create("EventSender");
	if (eventSender_obj == null) {
		console.log("FAIL: create EventSender  object null!");
		return;
	}
	//eventSender_obj.focus( document.getElementById("changeBtnId").offsetLeft  , document.getElementById("changeBtnId").offsetTop);
	
	VatataKeyMove.initVttKeymoveById($("changeBtnId"))
	wae_httpobj = wae.create("Net.HttpClient");
	
	
	eventSender_obj.sendKey( 22 ) ;  // right
	
	
	initId();
	init();
	}

</script>

</body>
</html>
